package me.flyray.bsin.facade.service;

import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java.util.Map;

@Path("/app/comment")
public interface HysqCommentService {

    /**
     * 发布评论
     */
    @POST
    @Path("add")
    @Produces("application/json")
    public Map<String,Object> add(Map<String, Object> requestMap);

    /**
     * 删除自己的评论
     */
    @POST
    @Path("delete")
    @Produces("application/json")
    public Map<String,Object> delete(Map<String, Object> requestMap);

    /**
     * 根据条件查询评论
     */
    @POST
    @Path("getCommentList")
    @Produces("application/json")
    public Map<String,Object> getCommentList(Map<String, Object> requestMap);
}
